package com.oepm.dao.mapper;

import com.oepm.dao.entity.MajorProAppPo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MajorProAppMapper {
    //教师提交
    int uploadApp(MajorProAppPo app);
    //下载
    MajorProAppPo selectAppByPid(String pid);
    //教师申请书列表
    List<MajorProAppPo> selectByTeaId(String id);
    //院长审核列表
    List<MajorProAppPo> selectByAcademy(String academy);
    //校区管理员审核列表
    List<MajorProAppPo> selectAll();
    //校区管理员院长审核
    int updateApp(MajorProAppPo app);
}
